$(document).ready(function() {
	$('#searchFormClose').click(function() {
		$('#searchBox').hide('slow');	
	});
	
	$('#searchFormFind').click(function() {
		document.forms['searchForm'].submit();	
	});
});

function getWidthOfClientArea()
{
	return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth;
}

function getHeightOfClientArea()
{
	return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientHeight:document.body.clientHeight;
}